const Service = require('egg').Service;

class HomeService extends Service {
  async index() {
    this.ctx.body = 'Hello world';
  }
  async home() {
   return this.ctx.helper.timeToData(Date.now())
  }
}

module.exports = HomeService;